package com.ruoyi.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 资产管理表 t_assets
 * 
 * @author ruoyi
 * @date 2018-11-01
 */
public class Assets extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private Long assetsId;
	/** 名称 */
	private String assetsName;
	/** 使用中 */
	private String state;
	/** 备注 */
	private String remark;
	/** 可用 */
	private String available;
	/** 部门编号 */
	private Long deptId;
	/** 部门 */
	private String deptName;
	/** 创建时间 */
	private Date creatTime;

	public void setAssetsId(Long assetsId) 
	{
		this.assetsId = assetsId;
	}

	public Long getAssetsId() 
	{
		return assetsId;
	}
	public void setAssetsName(String assetsName) 
	{
		this.assetsName = assetsName;
	}

	public String getAssetsName() 
	{
		return assetsName;
	}
	public void setState(String state) 
	{
		this.state = state;
	}

	public String getState() 
	{
		return state;
	}
	public void setRemark(String remark) 
	{
		this.remark = remark;
	}

	public String getRemark() 
	{
		return remark;
	}
	public void setAvailable(String available) 
	{
		this.available = available;
	}

	public String getAvailable() 
	{
		return available;
	}
	public void setDeptId(Long deptId) 
	{
		this.deptId = deptId;
	}

	public Long getDeptId() 
	{
		return deptId;
	}
	public void setDeptName(String deptName) 
	{
		this.deptName = deptName;
	}

	public String getDeptName() 
	{
		return deptName;
	}
	public void setCreatTime(Date creatTime) 
	{
		this.creatTime = creatTime;
	}

	public Date getCreatTime() 
	{
		return creatTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("assetsId", getAssetsId())
            .append("assetsName", getAssetsName())
            .append("state", getState())
            .append("remark", getRemark())
            .append("available", getAvailable())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("creatTime", getCreatTime())
            .toString();
    }
}
